package com.yiyahui.project.erp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yiyahui.framework.aspectj.lang.annotation.Excel;
import com.yiyahui.framework.web.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 影像资源对象 yiya_resource_shadow
 * 
 * @author yiyahui
 * @date 2020-05-16
 */

@ApiModel(value="影像资源对象")
public class YiyaResourceShadow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 门诊患者id */
    @ApiModelProperty(value="门诊患者id")
    @Excel(name = "门诊患者id")
    private Long clinicPersonId;

    /** 资源地址 */
    @ApiModelProperty(value="资源地址")
    @Excel(name = "资源地址")
    private String url;

    /** 资源类型 1.全景 2.小牙片 3.CBCT 4.照片 5.其他 6.头侧 7.知情通知书 8.正畸转诊单 */
    @ApiModelProperty(value="资源类型 1.全景 2.小牙片 3.CBCT 4.照片 5.其他 6.头侧 7.知情通知书 8.正畸转诊单")
    @Excel(name = "资源类型 1.全景 2.小牙片 3.CBCT 4.照片 5.其他 6.头侧 7.知情通知书 8.正畸转诊单")
    private Integer type;

    /** 备注 */
    @ApiModelProperty(value="备注")
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClinicPersonId(Long clinicPersonId) 
    {
        this.clinicPersonId = clinicPersonId;
    }

    public Long getClinicPersonId() 
    {
        return clinicPersonId;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clinicPersonId", getClinicPersonId())
            .append("url", getUrl())
            .append("type", getType())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
